package org.shijiagen.clients;

import org.shijiagen.param.PageParam;
import org.shijiagen.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "order-service",url = "http://localhost:3010")

public interface OrderClient {
    @PostMapping("order/remove/check")
    R removeCheck(Integer productId);

    @PostMapping("order/admin/list")
    R adminList(@RequestBody PageParam pageParam);
}
